package cn.wolfcode.luowowo.acticle.service.impl;


import cn.wolfcode.luowowo.acticle.domain.TravelContent;
import cn.wolfcode.luowowo.acticle.mapper.TravelContentMapper;
import cn.wolfcode.luowowo.acticle.service.ITravelContentService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Component
@Service
@Transactional
public class TravelContentServiceImpl implements ITravelContentService {
    @Autowired
    private TravelContentMapper travelContentMapper;

    @Override
    public TravelContent get(Long id) {
        return travelContentMapper.selectByPrimaryKey(id);
    }
}
